>>>(_:_:)

public func >>> <T, U, V, W> (f: T -> U, g: (U, V) -> W) -> (T, V) -> W

Returns the left-to-right composition of binary g on unary f.

This is the function such that (f >>> g)(x, y) = g(f(x), y).

  • T

    Undocumented

    Declaration

    Swift

    public func >>> <T, U, V, W> (f: T -> U, g: (U, V) -> W) -> (T, V) -> W